const mysql = require('mysql2/promise');
 
// 配置连接项
const pool = mysql.createPool({
  host: 'localhost',
  user: 'root',
  password: 'liangshao1201',
  port: '3306',
  database: 'myblog'
})
module.exports = pool;